#ifndef CIRCLE_H
#define CIRCLE_H

#include "point.h"
namespace GeometryUtilities
{
  class Circle
  {
    public:
      Circle();
      Circle(const GeometryUtilities::Point& center, qreal radius);
      Circle(qreal x, qreal y, qreal radius);

      const Point& center() const;
      qreal radius() const;

      bool isPointIn(const GeometryUtilities::Point& p) const;
      bool isPointOn(const GeometryUtilities::Point& p) const;

    protected:
      GeometryUtilities::Point mCenter;
      qreal mRadius;
  };
}

#endif // CIRCLE_H
